#ifndef _GPIO_TEST_H_
#define _GPIO_TEST_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "los_task.h"
#include "los_compiler.h"
#include "cmsis_os2.h"
#include "ohos_init.h"
#include "ohos_types.h"
#include "iot_gpio.h"
#include "ll_gpio.h"
#include "ll_exti.h"

#define KEY1    PE4
#define KEY2    PE3
#define KEY3    PE5
#define KEY4    PE2
#define KEY5    PE6
#define KEY6    PE5
#define LED1    PA6
#define LED2    PA7
#define LED3    PA4
#define LED4    PA5

enum LED_STATE{
    LED_ON = 0,
    LED_OFF,
};

void led_on(unsigned char led);
void led_off(unsigned char led);
void gpio_task();

#ifdef __cplusplus
}
#endif

#endif